package org.jeecg.chase.common.result;

/**
 * @author leikai
 * @version 1.0
 * @description: 错误返回对象
 * @date 2021/07/23/0023 15:52
 */
public class ErrorResult extends BaseResult {

    private Object details;

    public ErrorResult() {
        super(-1);
        this.setCode("400");
    }

    public ErrorResult(Object details) {
        super(-1);
        this.details = details;
        this.setCode("400");
    }

    public Object getDetails() {
        return details;
    }

    public void setDetails(Object details) {
        this.details = details;
    }
}
